public class Character {

    private String name;

    public Character(String name) {
        this.name = name;
    }
    public void attack(){
        System.out.println(this.name + "发动攻击");
    }
    public void evade(){
        System.out.println(this.name + "进行闪避");
    }
}
